﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TodoApp.ResultModel;
using TodoApp.TMS_personnelmatters.Employeess;

namespace TodoApp.TMS_SetUp.Operators
{
    public interface ITMS_OperatorRepository
    {
        Task<PageResponse<TMS_OperatorDto>> GetOperator(string serialNumber, string name, int pageindex, int pagesize);
        Task<List<TMS_Employees>> GetTMS_Employees();
        Task<ResponseModel<TMS_OperatorDto>> GetLogan(string account, string password);
        Task<int> DeleteOperator(string id);
        Task<int> UpdateOperator(TMS_OperatorDto tMS_Operator);
        Task<int> UpdatePhone(string name,string id);
        Task<int> CreateOperator(TMS_Operator tMS_Operator);
        Task<ResponseModel<TMS_OperatorDto>> GetFindById(string id);
    }
}
